home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / networking / 1321 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  3.2 KB

  1. Path: maya.dei.unipd.it!nairobi
  2. From: andsk@nuanda.dei.unipd.it (Andrea Rafreider)
  3. Newsgroups: comp.sys.amiga.networking
  4. Subject: Re: Slirp
  5. Date: Sun, 11 Feb 96 14:09:41
  6. Organization: Kame House
  7. Message-ID: <19960211.147A48.CF00@nuanda.dei.unipd.it>
  8. References: <4fiuh7$lca@goofy.BrandonU.CA>
  9. Reply-To: andsk@maya.dei.unipd.it
  10. NNTP-Posting-Host: marina.dei.unipd.it
  11. X-Newsreader: TIN [AMIGA 1.3 950726BETA PL0]
  12.  
  13. menon@beijing.brandonu.ca wrote:
  14. : Can anyone help me with slirp.
  15. : I have the Slirp server IP, the DNS IPs and my IP
  16. : Now when I configure AmiTCP, Where should I put these?  And should I put a
  17. : Dynamic address or not?  I know on startup, I am supposed to use
  18. : the IP given as my IP, so that is not the problem.
  19. : Perhaps I am getting the same problem as when I used mlink, it would not
  20. : start because it was sending a bad data packet on initialization.  But
  21. : at least then I had some response from my unix account coming back to my
  22. : Amiga, so I knew they were communicating.  With Slirp, I get nothing.
  23.  
  24. So, now that I'm at home I can give more help with some example configuration
  25. files..
  26.  
  27.     **** AmiTCP:bin/startnet follows ****
  28.  
  29. .key IPADDRESS
  30. .bra {
  31. .ket }
  32. .def IPADDRESS 10.0.2.15
  33.  
  34. ; log in
  35. echo
  36. echo login: misterx
  37. AmiTCP:bin/login -f misterx
  38. AmiTCP:bin/umask 022
  39.  
  40. AmiTCP:AmiTCP
  41. WaitForPort AMITCP
  42.  
  43. ; Configure loop-back device
  44. AmiTCP:bin/ifconfig lo0 localhost
  45.  
  46. ; Assure that ENV:Sana2 exists
  47. if not exists ENV:Sana2
  48.   makedir ENV:Sana2
  49. endif
  50.  
  51. ; Create cslip0 configuration file
  52. echo "serial.device 0 38400 0.0.0.0 MTU=1500 7WIRE " >ENV:Sana2/cslip0.config
  53.  
  54. ; Configure cslip0
  55. AmiTCP:bin/ifconfig cslip0 {IPADDRESS} 10.0.2.2
  56.  
  57. ; Add IP address entry for this host
  58. rx "address AMITCP; 'ADD HOST {IPADDRESS} amiga.your.domain. '"
  59.  
  60. ; Add route to this host
  61. AmiTCP:bin/route add {IPADDRESS} localhost
  62.  
  63. ; Add route to the default gateway
  64. AmiTCP:bin/route add default 10.0.2.2
  65.  
  66. setenv HOSTNAME `AmiTCP:bin/hostname`
  67. setenv HOST $HOSTNAME
  68.  
  69. Assign TCP: Exists > NIL:
  70. IF Warn
  71.   Mount TCP: from AmiTCP:devs/Inet-Mountlist
  72. EndIf
  73.  
  74. ; Start the internet `super server'
  75. run AmiTCP:bin/inetd
  76.  
  77. ; Start the Mail Daemon
  78. IF EXISTS AmiTCP:serv/SMTPd
  79.   run <>nil: AmiTCP:serv/SMTPd
  80. ENDIF
  81.  
  82.         **** AmiTCP:db/resolv.conf ****
  83.  
  84. ;Domain Names
  85. DOMAIN your.domain
  86.  
  87. ;Name Server
  88. NAMESERVER 10.0.2.3
  89.  
  90. Of course you should change "your.domain" "amiga.your.domain"
  91. and "misterx" respectively with your domain, your full host name
  92. and your login name on your amiga.
  93.  
  94. Do *not* change 10.0.2.15, 10.0.2.2, 10.0.2.3 as they are slirp aliases
  95. for your IP address, default gateway and name server.
  96.  
  97.  
  98. : I type slirp -b 14400 on my unix machine, in case this is the problem.
  99.  
  100. This shouldn't be a problem as long as the baud rate at which you 
  101. connect to your unix machine is 14400.
  102.  
  103. : Thanks in advance,
  104. : Vivek A. Menon
  105.  
  106. I hope this helps you to get connected! I've been using slirp for quite
  107. a while now, and it's really great!
  108.  
  109.     Good luck!
  110.  
  111.                             Andrea.
  112.  
  113.  
  114.  
  115.  
  116. --------------------------------------------------------------------------
  117.    Andrea Rafreider
  118.    Male Student at Electronic Engineering University of Padua, Italy
  119.    E-Mail:    andsk@maya.dei.unipd.it
  120. --------------------------------------------------------------------------
  121.